<template>
	<view class="bar-com-box chartsHeight">
		<!-- 柱状图和折线图的混合图 -->
		<qiun-data-charts type="mix" :chartData="chartData" :opts="barLineOpts" :ontouch="true" />
	</view>
</template>

<script>
import { barLineChartOption } from '@/utils/echarts.config.js';
export default {
	name: 'barLineCharts',
	props: {
		chartData: {
			type: Object,
			default: function() {
				return {};
			}
		}
	},
	data() {
		return {
			barLineOpts: {}
		};
	},
	mounted() {
		this.barLineOpts = JSON.parse(JSON.stringify(barLineChartOption));
	},
	methods: {}
};
</script>

<style lang="scss" scoped>
.bar-com-box.chartsHeight {
	height: 640rpx;
}
</style>
